package demo2;

import demo1.Cat;

import java.sql.SQLOutput;

public class text2 extends Cat {
    public void fun()
    {
        System.out.println(super.age);
    }
}
class text3
{
    public static void main(String[] args) {
        text2 b=new text2();
        b.fun();
    }
}
